// boolean
let isDone: boolean = true
// string
let str: string = '2'
// number
let num: number = 2

// array base
let array: number [] = [1, 2, 3]

// array 泛型
let array2:Array<number> = [1, 2, 3]

// 元组
let x: [string, number];
x = ['2', 3]

// 枚举
enum Color {
    Red, Green, Blue
}

let c: Color = Color.Blue
